<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="fragments/layout(title='岗位设置-添加',jsPaths='/static/js/personnel/post/add.js')">
<div class="right" th:fragment="right">
            <!--面包屑-->
            <div class="breadcrumb layui-bg-gray">
                <span class="layui-breadcrumb" lay-separator=">">
                    <a th:href="@{/}">首页</a>
                    <a href="">人事管理</a>
                    <a href="/post">岗位设置</a>
                    <a><cite>新增</cite></a>
                </span>
            </div>

            <!--主体内容区-->
            <div class="form-content layui-container">
                    <form class="layui-form" th:action="@{/post/save}" method="post">
                        <div class="layui-form-item">
                            <label class="layui-form-label must">职位名称</label>
                            <div class="layui-input-block">
                                <input type="text" name="name"  maxlength="10" lay-verify="required" placeholder="请输入职位名称" autocomplete="off" class="layui-input">
                            </div>
                            <span style="color:red;margin-left:110px;">系统已内置职位【医生、护士、护工、消防】,请勿重复添加</span>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn  layui-btn-normal" lay-submit lay-filter="submitBtn">保存</button>
                                <a href="/post" class="layui-btn layui-btn-primary">返回</a>
                            </div>
                        </div>
                    </form>

            </div>
        </div>
</html>